/**
 * 
 */
package com.gragra.nounIdentification;
/**
 * this implements the assement of maximum number used by simple giving the same maximum values throughout
 * @author Christoph Teichmann created Mar 26, 2013 10:42:03 AM
 * @version 0.1
 */
public class FixedMax implements MaxAssessment
{
	/**
	 * the maximum number of frames used
	 */
	private final int	maxFrames;
	/**
	 * the maximum number of words used
	 */
	private final int	maxNouns;
	/**
	 * constructs a new instance that will always return the given maximum values
	 * @param maxFrames
	 * @param maxNouns
	 */
	public FixedMax(final int maxFrames, final int maxNouns)
	{
		this.maxFrames = maxFrames;
		this.maxNouns = maxNouns;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.gragra.nounIdentification.MaxAssessment#getMaxFrames(int,
	 * com.gragra.nounIdentification.NounIdentifier)
	 */
	@Override
	public int getMaxFrames(final int iteration,
			final NounIdentifier nounIdentifier)
	{
		return this.maxFrames;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.gragra.nounIdentification.MaxAssessment#getMaxNouns(int,
	 * com.gragra.nounIdentification.BaseNounIdentifier)
	 */
	@Override
	public int getMaxNouns(final int iteration,
			final BaseNounIdentifier fixedNounIdentifier)
	{return this.maxNouns;}
}